package com.huynhchihieu.service;

import java.util.List;

import com.huynhchihieu.domain.Book;

public interface BookService {
	Book findById(int id);
	List<Book> getAllBooks();
	 void clearCached();
	 Book addBook(Book book);
	 void updateBook(Book book);
	 Book finByName(String bookName);
	 void delete(Book book);
	 List<Book> finByNames(String bookName);
}
